// ResRead.h: interface for the CResRead class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RESREAD_H__506CC8E9_0D05_4844_8D5F_22797E17FB2F__INCLUDED_)
#define AFX_RESREAD_H__506CC8E9_0D05_4844_8D5F_22797E17FB2F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define		_RES_FILE_LENGTH	1024*4*100

class CResRead  
{
public:
	CResRead();
	virtual ~CResRead();

	BOOL	ReadItemTable(TCHAR* lpszFilePath);
	BOOL	ReadMagicItemTable(TCHAR* lpszFilePath);
	BOOL	ReadPsyonicTable(TCHAR* lpszFilePath);
	BOOL	ReadSkillTable(TCHAR* lpszFilePath);
	BOOL	ReadAbilityTable(TCHAR* lpszFilePath);
	BOOL	ReadEbodyTable(TCHAR* lpszFilePath);
	BOOL	ReadGuardionTable(TCHAR* lpszFilePath);
	BOOL	ReadGuardionOptAddTable(TCHAR* lpszFilePath);


private:
	TCHAR	m_FilePath[_MAX_PATH];
	BYTE	m_Buffer[_RES_FILE_LENGTH];
	DWORD	m_FileLength;
	void	Init();
	BOOL	ReadFile();
};

#endif // !defined(AFX_RESREAD_H__506CC8E9_0D05_4844_8D5F_22797E17FB2F__INCLUDED_)
